<template>
	<view id="report-container">
		<h1>签小查税票分析报告</h1>
		<view v-if="lock">
			<table id="fxbg">
				<tr>
					<td v-for="i of 25"></td>
				</tr>
				<tr>
					<td colspan="25">
						<h2 id="head">{{data.companyName}}</h2>
					</td>
				</tr>
				<tr>
					<td colspan="25" class="subhead">
						企业税号：{{data.taxId}}
					</td>
				</tr>
				<tr>
					<td colspan="25" class="subhead">
						取数周期：{{data.startMonth}} —— {{data. endMonth}}
					</td>
				</tr>
				<tr>
					<td colspan="25" class="subhead">
						查询时间：{{data.queryTime}}
					</td>
				</tr>
				<tr>
					<td colspan="25" class="subhead">
						报告编号：{{orderNo}}
					</td>
				</tr>

				<tr>
					<td colspan="25" class="tittle1">
						一，综合信息
					</td>
				</tr>
				<tr>
					<td colspan="25" class="tittle2">
						1. 综合评估
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						纳税信用评级
					</td>
					<td colspan="15" class="zhxxInfo">
						{{data.evaluationResult}}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						评分
					</td>
					<td colspan="15" class="zhxxInfo">
						{{data.score}}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						评级
					</td>
					<td colspan="15" class="zhxxInfo">
						{{data.score}}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						最近法人变更
					</td>
					<td colspan="15" class="zhxxInfo">
						{{data.lastCorporateChange}}
					</td>
				</tr>

				<tr>
					<td colspan="10" class="zhxxTitle">
						纳税人资格类型
					</td>
					<td colspan="15" class="zhxxInfo">
						{{ da(data,['baseinfoVo','nsrzg'])}}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						纳税人状态
					</td>
					<td colspan="15" class="zhxxInfo">
						{{ da(data,['baseinfoVo','nsrztdm'] )}}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						生产经营地址
					</td>
					<td colspan="15" class="zhxxInfo">
						{{da(data,['baseinfoVo','scjydzxzqh'] )}}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						当前是否欠税
					</td>
					<td colspan="15" class="zhxxInfo">
						{{ da(data,['baseinfoVo','taxCurrPayUpSys'] )}}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						统一社会信用代码
					</td>
					<td colspan="15" class="zhxxInfo">
						{{da(data,['baseinfoVo','tyshxydm'] )}}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						注册地行政区划
					</td>
					<td colspan="15" class="zhxxInfo">
						{{da(data,['baseinfoVo','zcdxzqh'] )}}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						注册地址
					</td>
					<td colspan="15" class="zhxxInfo">
						{{da(data,['baseinfoVo','zcdz'] )}}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						行业代码
					</td>
					<td colspan="15" class="zhxxInfo">
						{{da(data,['baseinfoVo','hydm'] )}}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						行业名称
					</td>
					<td colspan="15" class="zhxxInfo">
						{{da(data,['baseinfoVo','hymc'])}}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						门类代码
					</td>
					<td colspan="15" class="zhxxInfo">
						{{da(data,['baseinfoVo','mldm'])}}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						门类名称
					</td>
					<td colspan="15" class="zhxxInfo">
						{{da(data,['baseinfoVo','mlmc'] )}}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						注册日期
					</td>
					<td colspan="15" class="zhxxInfo">
						{{da(data,['baseinfoVo','zcrq'])}}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						注册资本（元）
					</td>
					<td colspan="15" class="zhxxInfo">
						{{da(data,['baseinfoVo','zczb'] )}}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						从业人数
					</td>
					<td colspan="15" class="zhxxInfo">
						{{da(data,['baseinfoVo','cyrs'])}}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						等级注册类型
					</td>
					<td colspan="15" class="zhxxInfo">
						{{da(data,['baseinfoVo','djzclx']) }}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						使用会计制度
					</td>
					<td colspan="15" class="zhxxInfo">
						{{da(data,['baseinfoVo','sykjzd']) }}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						主管税务机关
					</td>
					<td colspan="15" class="zhxxInfo">
						{{da(data,['baseinfoVo','zgswjg']) }}
					</td>
				</tr>
				<tr>
					<td colspan="10" class="zhxxTitle">
						注册地电话号码
					</td>
					<td colspan="15" class="zhxxInfo">
						{{da(data,['baseinfoVo','zcddhhm']) }}
					</td>
				</tr>


				<tr>
					<td colspan="25" class="tittle2">
						2. 工商信息
					</td>
				</tr>
				<!-- 工商 基本信息 -->
				<tr>
					<td colspan="25" class="tittle3">
						2.1 基本信息
					</td>
				</tr>
				<tr>
					<td colspan="4" class="tdTitle">
						行业名称
					</td>
					<td colspan="4" class="info">
						{{ da(data,['enterprise','basic','industryName']) }}
					</td>
					<td colspan="4" class="tdTitle">
						地址
					</td>
					<td colspan="13" class="info">
						{{ da(data,['enterprise','basic','address']) }}
					</td>
				</tr>
				<tr>
					<td colspan="4" class="tdTitle">
						细分行业
					</td>
					<td colspan="4" class="info">
						{{ da(data,['enterprise','basic','domains']) }}
					</td>
					<td colspan="4" class="tdTitle">
						企业类型
					</td>
					<td colspan="13" class="info">
						{{ da(data,['enterprise','basic','econKind']) }}
					</td>
				</tr>
				<tr>
					<td colspan="4" class="tdTitle">
						经营截止日期
					</td>
					<td colspan="4" class="info">
						{{ da(data,['enterprise','basic','termEnd']) }}
					</td>
					<td colspan="4" class="tdTitle">
						检查日期
					</td>
					<td colspan="13" class="info">
						{{ da(data,['enterprise','basic','checkDate']) }}
					</td>
				</tr>
				<tr>
					<td colspan="4" class="tdTitle">
						经营起始日期
					</td>
					<td colspan="4" class="info">
						{{ da(data,['enterprise','basic','termStart']) }}
					</td>
					<td colspan="4" class="tdTitle">
						省份
					</td>
					<td colspan="13" class="info">
						{{ da(data,['enterprise','basic','province']) }}
					</td>
				</tr>
				<tr>
					<td colspan="4" class="tdTitle">
						注册资本
					</td>
					<td colspan="4" class="info">
						{{ da(data,['enterprise','basic','registCapi']) }}
					</td>
					<td colspan="4" class="tdTitle">
						范围
					</td>
					<td colspan="13" class="info">
						{{ da(data,['enterprise','basic','scope']) }}
					</td>
				</tr>
				<tr>
					<td colspan="4" class="tdTitle">
						名称
					</td>
					<td colspan="21" class="info">
						{{ da(data,['enterprise','basic','name']) }}
					</td>
				</tr>
				<tr>
					<td colspan="4" class="tdTitle">
						操作名称
					</td>
					<td colspan="21" class="info">
						{{ da(data,['enterprise','basic','operName']) }}
					</td>
				</tr>

				<!-- 股东信息 -->
				<tr>
					<td colspan="25" class="tittle3">
						2.2 股东信息
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="4">
						股东名称
					</td>
					<td colspan="5">
						股东类型
					</td>
					<td colspan="4">
						持股比例
					</td>
					<td colspan="6">
						累计认缴额(元)
					</td>
					<td colspan="6">
						累计实缴额(元)
					</td>
				</tr>
				<tr v-if="data.enterprise && data.enterprise.partners" v-for="i_ of data.enterprise.partners"
					class="data">
					<td colspan="4">
						{{i_.name}}
					</td>
					<td colspan="5">
						{{i_.stockType}}
					</td>
					<td colspan="4">
						{{i_.stockRate}}
					</td>
					<td colspan="6">
						{{i_.totalRealCapi}}
					</td>
					<td colspan="6">
						{{i_.totalShouldCapi}}
					</td>
				</tr>
				<tr v-else class="data">
					<td colspan="25">
						暂无
					</td>
				</tr>

				<!-- 工商变更 -->
				<tr>
					<td colspan="25" class="tittle3">
						2.3 工商变更
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="4">
						变更项目
					</td>
					<td colspan="4">
						变更日期
					</td>
					<td colspan="6">
						变更前内容
					</td>
					<td colspan="13">
						变更后内容(元)
					</td>
				</tr>
				<tr v-if="data.enterprise && data.enterprise.changerecords" v-for="i_ of data.enterprise.changerecords"
					class="data">
					<td colspan="4">
						{{i_.changeItem}}
					</td>
					<td colspan="4">
						{{i_.changeDate}}
					</td>
					<td colspan="6">
						{{i_.beforeContent}}
					</td>
					<td colspan="13">
						{{i_.afterContent}}
					</td>
				</tr>
				<tr v-else class="data">
					<td colspan="25">
						暂无
					</td>
				</tr>

				<tr>
					<td colspan="25" class="tittle2">
						2.4 商标专利
					</td>
				</tr>
				<!-- 企业商标信息 -->
				<tr>
					<td colspan="25" class="tittle3">
						2.4.1 企业商标信息
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="4">
						商标名称
					</td>
					<td colspan="3">
						状态
					</td>
					<td colspan="3">
						注册号
					</td>
					<td colspan="3">
						分类码
					</td>
					<td colspan="4">
						分类名
					</td>
					<td colspan="4">
						申请日期
					</td>
					<td colspan="4">
						专用权期限
					</td>
				</tr>
				<tr v-if="data.trademark" v-for="i_ of data.trademark" class="data">
					<td colspan="4">
						{{i_.name}}
					</td>
					<td colspan="3">
						{{i_.status}}
					</td>
					<td colspan="3">
						{{i_.regNumber}}
					</td>
					<td colspan="3">
						{{i_.typeNum}}
					</td>
					<td colspan="4">
						{{i_.typeName}}
					</td>
					<td colspan="4">
						{{i_.applyDate}}
					</td>
					<td colspan="4">
						{{i_.period}}
					</td>
				</tr>
				<tr v-else class="data">
					<td colspan="25">
						暂无
					</td>
				</tr>


				<!-- 企业专利信息 -->
				<tr>
					<td colspan="25" class="tittle3">
						2.4.2 企业专利信息
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="6">
						名称
					</td>
					<td colspan="6">
						类型
					</td>
					<td colspan="6">
						申请日期
					</td>
					<td colspan="7">
						专利ID
					</td>
				</tr>
				<tr v-if="data.patent" v-for="i_ of data.patent" class="data">
					<td colspan="6">
						{{i_.patentName}}
					</td>
					<td colspan="6">
						{{i_.typeName}}
					</td>
					<td colspan="6">
						{{i_.requestDate}}
					</td>
					<td colspan="7">
						{{i_.id}}
					</td>
				</tr>
				<tr v-else class="data">
					<td colspan="25">
						暂无
					</td>
				</tr>

				<!-- 企业著作权信息 -->
				<tr>
					<td colspan="25" class="tittle3">
						2.4.3 企业著作权信息
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="5">
						著作注册号
					</td>
					<td colspan="5">
						著作名称
					</td>
					<td colspan="5">
						类型完成时间
					</td>
					<td colspan="5">
						批准时间 最后更新时间
					</td>
					<td colspan="5">
						登记批准时间
					</td>
				</tr>
				<tr v-if="data.copyright" v-for="i_ of data.copyright" class="data">
					<td colspan="5">
						{{i_.number}}
					</td>
					<td colspan="5">
						{{i_.name}}
					</td>
					<td colspan="5">
						{{i_.successDate}}
					</td>
					<td colspan="5">
						{{i_.approvalDate}}，{{i_.lastUpdatedTime}}
					</td>
					<td colspan="5">
						{{i_.firstDate}}
					</td>
				</tr>
				<tr v-else class="data">
					<td colspan="25">
						暂无
					</td>
				</tr>


				<!-- 企业软件著作权信息 -->
				<tr>
					<td colspan="25" class="tittle3">
						2.4.4 企业软件著作权信息
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="5">
						软著注册号
					</td>
					<td colspan="5">
						软著名称
					</td>
					<td colspan="5">
						类型名称 完成时间
					</td>
					<td colspan="5">
						批准时间 最后更新时间
					</td>
					<td colspan="5">
						登记批准时间
					</td>
				</tr>
				<tr v-if="data.copyrightSoft" v-for="i_ of data.copyrightSoft" class="data">
					<td colspan="5">
						{{i_.number}}
					</td>
					<td colspan="5">
						{{i_.name}}
					</td>
					<td colspan="5">
						{{i_.typeName}} {{i_.successDate}}
					</td>
					<td colspan="5">
						{{i_.approvalDate}} {{i_.lastUpdatedTime}}
					</td>
					<td colspan="5">
						{{i_.firstDate}}
					</td>
				</tr>
				<tr v-else class="data">
					<td colspan="25">
						暂无
					</td>
				</tr>

				<tr>
					<td colspan="25" class="tittle1">
						二，纳税信息
					</td>
				</tr>
				<!-- 基本信息 -->
				<tr>
					<td colspan="25" class="tittle2">
						1. 基本信息
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近1年营业收入</div>
						<div>{{ da(data,['coreTaxFinanceIndex','businessIncomeRec1Year']) }}</div>
					</td>
					<td colspan="13">
						<div>近12月税收违法次数</div>
						<div>{{ da(data,['coreTaxFinanceIndex','inspectionTimesRec12Mon']) }}</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近 12 个月销售额同比</div>
						<div>{{ da(data,['coreTaxFinanceIndex','saleAmountRec12MonTB']) }}</div>
					</td>
					<td colspan="13">
						<div>近1年短期借款余额</div>
						<div>{{ da(data,['coreTaxFinanceIndex','shortTermLoanRec1Year']) }}</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近3个月纳税申报月份数</div>
						<div>{{ da(data,['coreTaxFinanceIndex','taxDeclareMonthRec3Mon']) }}</div>
					</td>
					<td colspan="13">
						<div>近3个月增值税纳税同比</div>
						<div>{{ da(data,['coreTaxFinanceIndex','taxDeclareMonthRec3MonTB']) }}</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近1年资产总计</div>
						<div>{{ da(data,['coreTaxFinanceIndex','totalAssetsRec1Year']) }}</div>
					</td>
					<td colspan="13">
						<div>近 12个月增值税纳税额合计</div>
						<div>{{ da(data,['coreTaxFinanceIndex','totalTaxDeclareAmountRec12Mon']) }}</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近12个月所得税纳税额合计</div>
						<div>{{ da(data,['coreTaxFinanceIndex','totalTaxIncomeAmountRec12Mon']) }}</div>
					</td>
					<td colspan="13">
						<div>近12月税收违法次数</div>
						<div>{{ da(data,['coreTaxFinanceIndex','totalTaxPayAmountRec12Mon']) }}</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近 12 个月应纳税额合计</div>
						<div>{{ da(data,['coreTaxFinanceIndex','totalTaxDeclareAmountRec12Mon']) }}</div>
					</td>
					<td colspan="13">
						<div>近 12 个月应税销售收入合计</div>
						<div>{{ da(data,['coreTaxFinanceIndex','totalTaxSalesAmountRec12Mon']) }}</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近 12 个月实缴金 额合计</div>
						<div>{{ da(data,['coreTaxFinanceIndex','totalSjje12Mon']) }}</div>
					</td>
					<td colspan="15">
						<div>近 12 个月滞纳金次数</div>
						<div>{{ da(data,['coreTaxFinanceIndex','znjTimesRec12Mon']) }}</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近 12 个月连续零申报月数</div>
						<div>{{ da(data,['coreTaxFinanceIndex','persistNoSales12Months']) }}</div>
					</td>
					<td colspan="13">
						<div>最近一次实缴税距今月 数</div>
						<div>{{ da(data,['coreTaxFinanceIndex','lastSjjePurMonths']) }}</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近 13-24 个月纳税 额</div>
						<div>{{ da(data,['coreTaxFinanceIndex','totalSjje13To24Mon']) }}</div>
					</td>
					<td colspan="13">
						<div>近 36 个 月最长连续零申报月数</div>
						<div>{{ da(data,['coreTaxFinanceIndex','longestPersistNoSales36Months']) }}</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近 6 个月销售额同比增长率</div>
						<div>{{ da(data,['coreTaxFinanceIndex','saleAmountRec6MonTB']) }}</div>
					</td>
					<td colspan="13">
						<div>近 12 个月 0 申报月数</div>
						<div>{{ da(data,['coreTaxFinanceIndex','taxNoDeclareMonthRec12Mon']) }}</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>首次纳 税申报日期</div>
						<div>{{ da(data,['coreTaxFinanceIndex','taxDeclareDateFirst']) }}</div>
					</td>
					<td colspan="13">
						<div>近 12 个月实缴金额同比</div>
						<div>{{ da(data,['coreTaxFinanceIndex','taxDeclareSjjeTb12m']) }}</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近 24 月 0 申报月数</div>
						<div>{{ da(data,['coreTaxFinanceIndex','taxPay0AmtContiCnt24m']) }}</div>
					</td>
					<td colspan="13">
						<div>近 1 年固定资产</div>
						<div>{{ da(data,['coreTaxFinanceIndex','fixedAssetsRec1Year']) }}</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="23">
						<div>近1年在建工程</div>

						<div>{{ da(data,['coreTaxFinanceIndex','constructionProjectRec1Year']) }}</div>
					</td>
				</tr>


				<!-- 近三年纳税信息完税表(元) -->
				<tr>
					<td colspan="25" class="tittle2">
						2. 近三年纳税信息完税表(元)
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="6">
						月份
					</td>
					<td colspan="6">
						第一年
					</td>
					<td colspan="6">
						第二年
					</td>
					<td colspan="7">
						第三年
					</td>
				</tr>
				<tr v-for="(i_,i) of data.taxDeclareSjjeByYear" :class="i%2?'trTitle':'data'">
					<td colspan="6">
						{{i==12?'年度汇总':i+1+'月'}}
					</td>
					<td colspan="6">
						{{i_.fm}}
					</td>
					<td colspan="6">
						{{i_.sm}}
					</td>
					<td colspan="7">
						{{i_.tm}}
					</td>
				</tr>
				<!-- <tr class="trTitle">
					<td colspan="6">
						2月
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="7">
						--
					</td>
				</tr>
				<tr class="data_">
					<td colspan="6">
						3月
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="7">
						--
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="6">
						4月
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="7">
						--
					</td>
				</tr>
				<tr class="data_">
					<td colspan="6">
						5月
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="7">
						--
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="6">
						6月
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="7">
						--
					</td>
				</tr>
				<tr class="data_">
					<td colspan="6">
						7月
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="7">
						--
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="6">
						8月
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="7">
						--
					</td>
				</tr>
				<tr class="data_">
					<td colspan="6">
						9月
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="7">
						--
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="6">
						10月
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="7">
						--
					</td>
				</tr>
				<tr class="data_">
					<td colspan="6">
						11月
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="7">
						--
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="6">
						12月
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="7">
						--
					</td>
				</tr>
				<tr class="data_">
					<td colspan="6">
						年度汇总
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="6">
						--
					</td>
					<td colspan="7">
						--
					</td>
				</tr> -->

				<tr>
					<td colspan="25" class="tittle1">
						三，发票信息
					</td>
				</tr>
				<!-- <tr>
					<td colspan="25" class="tittle2">
						1. 基本信息
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近45日是否有开票记录</div>
						<div>M___D</div>
					</td>
					<td colspan="13">
						<div>近一个月开票金额(元)</div>
						<div>M___D</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近3个月开票环比增长率</div>
						<div>M___D</div>
					</td>
					<td colspan="13">
						<div>近3个月开票金额(元)</div>
						<div>M___D</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近塹|造6个月开票环比增长率</div>
						<div>M___D</div>
					</td>
					<td colspan="13">
						<div>近6月开票金额(元)</div>
						<div>M___D</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近12月开票环比增长率</div>
						<div>M___D</div>
					</td>
					<td colspan="13">
						<div>近12个月开票金额(元)</div>
						<div>M___D</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近12个月作废发票数量占比</div>
						<div>M___D</div>
					</td>
					<td colspan="13">
						<div>近24个月开票金额(元)</div>
						<div>M___D</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近12月下游客户数量(家)</div>
						<div>M___D</div>
					</td>
					<td colspan="13">
						<div>近3个月下游客户统计</div>
						<div>M___D</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="10">
						<div>近12个月红冲发票张数占比</div>
						<div>M___D</div>
					</td>
					<td colspan="13">
						<div>近12个月红冲金额占比</div>
						<div>M___D</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="23">
						<div>近12个月月均开票金额同比增长率</div>
						<div>M___D</div>
					</td>
				</tr>
		
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="23">
						<div>近12个月最大连续未开票间隔天数(销项)</div>
						<div>M___D</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="23">
						<div>近12个月最长连续断票月数</div>
						<div>M___D</div>
					</td>
				</tr>
				<tr class="trLeft">
					<td colspan="2"></td>
					<td colspan="23">
						<div>近12个月断票月数(不含2月份)</div>
						<div>M___D</div>
					</td>
				</tr> -->

				<!-- 年度发票汇总 -->
				<tr>
					<td colspan="25" class="tittle2">
						1. 年度发票汇总
					</td>
				</tr>
				<template v-for="i_ of data.qyfpxxList">
					<tr class="trTitle">
						<td colspan="25">
							{{ i_.nd }}
						</td>
					</tr>

					<tr class="data">
						<td colspan="10">
							下游经销商数量（个）
						</td>
						<td colspan="15">
							{{i_.record.gmfSl}}
						</td>
					</tr>
					<tr class="data">
						<td colspan="10">
							下游经销商交易金额(元)
						</td>
						<td colspan="15">
							{{i_.record.jyjeXy}}
						</td>
					</tr>
					<tr class="data">
						<td colspan="10">
							下游经销商交易次数
						</td>
						<td colspan="15">
							{{i_.record.jyzsXy}}
						</td>
					</tr>
					<tr class="data">
						<td colspan="10">
							上游供应商数量
						</td>
						<td colspan="15">
							{{i_.record.xsfSl}}
						</td>
					</tr>
					<tr class="data">
						<td colspan="10">
							上游供应商交易金额
						</td>
						<td colspan="15">
							{{i_.record.jyjeSy}}
						</td>
					</tr>
					<tr class="data">
						<td colspan="10">
							上游供应商交易次数(次)
						</td>
						<td colspan="15">
							{{i_.record.jyzsSy}}
						</td>
					</tr>
					<tr class="data">
						<td colspan="10">
							下游经销商交易税额(元)
						</td>
						<td colspan="15">
							{{i_.record.jyjetaxXy}}
						</td>
					</tr>
				</template>


				<!-- 近一年前十供应商信息 -->
				<tr>
					<td colspan="25" class="tittle1">
						四，近一年前十供应商信息
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="3">
						排名
					</td>
					<td colspan="6">
						供应商名称
					</td>
					<td colspan="4">
						采购额(元)
					</td>
					<td colspan="6">
						金额占比
					</td>
					<td colspan="6">
						发票张数
					</td>
				<tr v-for="(i_,i) of data.supplierList" class="data">
					<td colspan="3">
						{{i+1}}
					</td>
					<td colspan="6">
						{{i_.salerName}}
					</td>
					<td colspan="4">
						{{i_.totalAmount}}
					</td>
					<td colspan="6">
						{{i_.rateSalerAmount}}
					</td>
					<td colspan="6">
						{{i_.totalInvoiceCount}}
					</td>
				</tr>
				<tr v-if="data.supplierList.length==0" class="data">
					<td colspan="25">
						暂无
					</td>
				</tr>

				<!-- 近一年前十销售客户信息 -->
				<tr>
					<td colspan="25" class="tittle1">
						五，近一年前十销售客户信息
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="3">
						排名
					</td>
					<td colspan="5">
						客户名称
					</td>
					<td colspan="5">
						交易金额-含税
					</td>
					<td colspan="7">
						金额占比（%）
					</td>
					<td colspan="5">
						交易次数
					</td>
				</tr>
				<template v-for="i_ of data.ndQyfpxyjxsList">
					<tr>
						<td colspan="25">年度：{{i_.nd}}</td>
					</tr>
					<tr v-for="(i,index) of i_.record" class="data">
						<td colspan="3">
							{{index+1}}
						</td>
						<td colspan="5">
							{{i.gmfMc}}
						</td>
						<td colspan="5">
							{{i.jyje}}
						</td>
						<td colspan="7">
							{{i.zb}}
						</td>
						<td colspan="5">
							{{i.jyzs}}
						</td>
					</tr>
				</template>
				<tr class="data">
					<td colspan="25">
						暂无更多
					</td>
				</tr>

				<!-- 银行授信 -->
				<tr>
					<td colspan="25" class="tittle1">
						六，银税互动
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="4">
						银行名称
					</td>
					<td colspan="3">
						申请(授信)日期
					</td>
					<td colspan="3">
						贷款余额
					</td>
					<td colspan="3">
						贷款金额
					</td>
					<td colspan="4">
						产品名称
					</td>
					<td colspan="4">
						授信额度
					</td>
					<td colspan="4">
						授信失败原因
					</td>
				</tr>
				<tr v-if="data.yshdInfos" v-for="i_ of data.yshdInfos" class="data">
					<td colspan="4">
						{{i_.dsfjgmc}}
					</td>
					<td colspan="3">
						{{i_.sqrq}}
					</td>
					<td colspan="3">
						{{i_.dkye}}
					</td>
					<td colspan="3">
						{{i_.dkje}}
					</td>
					<td colspan="4">
						{{i_.jrcpmc}}
					</td>
					<td colspan="4">
						{{i_.sxed}}
					</td>
					<td colspan="4">
						{{i_.yyms}}
					</td>
				</tr>
				<tr class="data">
					<td colspan="25">
						暂无更多
					</td>
				</tr>

				<!-- 司法信息 -->
				<tr>
					<td colspan="25" class="tittle1">
						七，司法信息
					</td>
				</tr>
				<tr>
					<td colspan="25" class="tittle2">
						1. 企业异常信息
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="4">
						列入日期
					</td>
					<td colspan="8">
						例如原因
					</td>
					<td colspan="4">
						移除日期
					</td>
					<td colspan="9">
						移除原因
					</td>
				</tr>
				<tr v-for="i_ of data.enterprise.abnormal" class="data">
					<td colspan="4">
						{{i_.inDate}}
					</td>
					<td colspan="8">
						{{i_.inReason}}
					</td>
					<td colspan="4">
						{{i_.outDate}}
					</td>
					<td colspan="9">
						{{i_.outReason}}
					</td>
				</tr>
				<tr class="data">
					<td colspan="25">
						暂无更多
					</td>
				</tr>

				<tr>
					<td colspan="25" class="tittle2">
						2. 失信被执行信息
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="6">
						姓名/公司名称
					</td>
					<td colspan="4">
						立案时间
					</td>
					<td colspan="5">
						履行情况
					</td>
					<td colspan="10">
						生效法律文书确定的义务
					</td>
				</tr>
				<tr v-if="data.disrupt" v-for="i_ of data.disrupt" class="data">
					<td colspan="6">
						{{i_.name}}
					</td>
					<td colspan="4">
						{{i_.regDate}}
					</td>
					<td colspan="5">
						{{i_.performance}}
					</td>
					<td colspan="10">
						{{i_.disreputTypeName}}
					</td>
				</tr>
				<tr class="data">
					<td colspan="25">
						暂无更多
					</td>
				</tr>

				<tr>
					<td colspan="25" class="tittle2">
						3. 被执行人信息
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="4">
						名称
					</td>
					<td colspan="5">
						案号
					</td>
					<td colspan="4">
						立案时间
					</td>
					<td colspan="12">
						执行标的
					</td>
				</tr>
				<tr v-if="data.undertaker" v-for="i_ of data.undertaker" class="data">
					<td colspan="4">
						{{i_.name}}
					</td>
					<td colspan="5">
						{{i_.caseCode}}
					</td>
					<td colspan="6">
						{{i_.regDate}}
					</td>
					<td colspan="12">
						{{i_.execMoney}}
					</td>
				</tr>
				<tr class="data">
					<td colspan="25">
						暂无更多
					</td>
				</tr>

				<tr>
					<td colspan="25" class="tittle2">
						4. 法院公告
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="4">
						名称
					</td>
					<td colspan="4">
						公告人
					</td>
					<td colspan="4">
						公告类型
					</td>
					<td colspan="4">
						公告时间
					</td>
					<td colspan="9">
						公告内容
					</td>
				</tr>
				<tr v-if="data.courtInfo" v-for="i_ of data.courtInfo" class="data">
					<td colspan="4">
						{{i_.fctParty}}
					</td>
					<td colspan="4">
						{{i_.fctGgperson}}
					</td>
					<td colspan="4">
						{{i_.fctClass}}
					</td>
					<td colspan="4">
						{{i_.fctGgdate}}
					</td>
					<td colspan="9">
						{{i_.fctExecutiondoc}}
					</td>
				</tr>
				<tr class="data">
					<td colspan="25">
						暂无更多
					</td>
				</tr>

				<tr>
					<td colspan="25" class="tittle2">
						4. 裁判文书
					</td>
				</tr>
				<tr class="trTitle">
					<td colspan="10">
						文书标题
					</td>
					<td colspan="5">
						案件类型
					</td>
					<td colspan="5">
						文书日期
					</td>
					<td colspan="5">
						案件号
					</td>
				</tr>
				<tr v-if="data.wenshu" v-for="i_ of data.wenshu" class="data">
					<td colspan="10">
						{{i_.judgeTitle}}
					</td>
					<td colspan="5">
						{{i_.caseType}}
					</td>
					<td colspan="5">
						{{i_.judgeDate}}
					</td>
					<td colspan="5">
						{{i_.caseCode}}
					</td>
				</tr>
				<tr class="data">
					<td colspan="25">
						暂无更多
					</td>
				</tr>
				<tr>
					<td colspan="25">
						<view id="end">
							<text>更多产品，关注查小签</text>
							<!-- <view id="xhx" @click="goIndex()">点击去主页</view> -->
						</view>
					</td>
				</tr>
			</table>

			<view class="btn_">
				<view @click="FP()">发票</view>
				<view @click="FX()">分享</view>
			</view>
		</view>
		<view v-else></view>
	</view>
</template>

<script>
	import {
		comTemInfo
	} from '@/utils/comTemInfo.js'

	import {
		taxesResult
	} from '@/api/jinjian.js'

	export default {
		data() {
			return {
				orderNo: '示例报告001',
				lock: false,
				data: {}
			}
		},
		onLoad(options) {
			this.$modal.loading("正在查询.....")
			if (options.orderNo) {
				this.orderNo = options.orderNo
				taxesResult(this.orderNo).then(res => {
					if (res.code === 200) {

						this.data = res.data

						console.log('---this.data----', this.data)
						this.lock = true
					} else {
						this.$modal.alert(res.msg)
					}
					this.$modal.closeLoading()
				})
			} else {
				this.data = comTemInfo
				this.lock = true
				this.$modal.closeLoading()
			}
		},

		methods: {
			da(data, keys) {
				let i = 0
				while (i < keys.length) {
					if (data[keys[i]] == undefined) {
						return ''
					} else {
						data = data[keys[i]]
						i++
					}
				}
				return data == '' ? '' : data
			},
			goIndex() {
				console.log('---------')
				uni.switchTab({
					url: '/pages/index/index'
				});
			},
		}
	}
</script>

<style lang="scss" scoped>
	#report-container {
		min-height: 100vh;
		background: url("../static/images/bg.png") no-repeat 0 0, #F5F6FC;
		background-size: contain;

		h1 {
			padding-top: 30px;
			text-align: center;
			color: #fff;
		}

		#fxbg {
			margin: 0 2vw;
			table-layout: fixed;
			// border: 1px solid red;
			border-collapse: collapse;
			font-size: 13px;

			td {
				width: 4%;
				text-align: center;
			}

			#head {
				font-size: 22px;
				text-align: center;
				margin: 10vw 0;
			}

			.subhead {
				font-size: 14px;
				padding: 0 0 5vw 10vw;
				text-align: left;
			}

			.tittle1 {
				text-align: left;
				padding-top: 2vw;
				font-size: 13px;
				font-weight: 550;
			}

			.tittle2 {
				text-align: left;
				padding: 2vw 0 0 2vw;
				font-weight: 550;
			}

			.tittle3 {
				text-align: left;
				padding: 2vw 0 1vw 4vw;
				font-size: 11px;
				font-weight: 550;
			}

			.zhxxTitle {
				font-size: 14px;
				padding: 8px 0 8px 27px;
				text-align: left;
			}

			.zhxxInfo {
				font-size: 14px;
				padding: 4px 0;
				text-align: left;
			}

			.tdTitle {
				padding: 4px 0;
				background-color: #e2e2e2;
				border: 0.5px solid #f6f9ff;
			}

			.trTitle {
				background-color: #e2e2e2;

				td {
					padding: 4px 0;
					border: 0.5px solid #f6f9ff;
				}
			}

			.info {
				border: 0.5px solid #f6f9ff;
				padding: 4px 0;
			}

			.trLeft {
				td {
					padding: 6px 0;
					text-align: left;
				}
			}

			.data {
				td {
					border: 0.5px solid #f6f9ff;
					padding: 4px 0;
				}
			}

			.data_ {
				border: 1px solid #c2c2c2;

				td {
					padding: 4px 0;
				}
			}

			#end {
				margin: 50px 0 50px;
				// background: #078dff;

				#xhx {
					margin-top: 10px;
					color: #078dff;
					text-decoration: underline;
				}
			}
		}

		.btn_ {
			position: fixed;
			bottom: 15vh;
			right: 0px;
			z-index: 10;

			view {
				writing-mode: vertical-rl;
				background-color: #078dff;
				padding: 10px 6px;
				border-radius: 5px 0 0 5px;
				margin-bottom: 4px;
				color: white;
			}
		}
	}
</style>